package com.quick.DP.ObserverPattern;

class DisplayDevice implements WeatherObserver {
    @Override
    public void update(float temperature) {
        System.out.println("显示屏: 当前温度 " + temperature + "°C");
    }
}